package com.hotel.system.mapper;

import com.hotel.system.domain.hotel.Room;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 岗位信息 数据层
 * 
 * @author hotel
 */
public interface RoomMapper
{

    public List<Room> selectRoomList(Room room);

    public int insertRoom(Room room);

    public Room selectRoomId(String id);

    public int updateRoom(Room room);

    public int updateRoomStatus(String ids);

    Room checkRoomNameUnique(@Param(value = "roomName") String roomName, @Param(value = "deptId") Long deptId);
}
